import numpy as np
import matplotlib.pyplot as plt
import cv2

img = cv2.imread('./img/logo.jpg')

cv2.imshow('image',img)
key=cv2.waitKey(0) 
if key == 27:
    cv2.destroyAllWindows()
elif key == ord('s') :# s press
    cv2.imwrite('./img/logo.png',img)
    cv2.destroyAllWindows()
